﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using BGCOP.CAVTOP.WINFORMS.frmtlk;
using Telerik.WinControls.UI.Localization;

namespace BGCOP.CAVTOP.WINFORMS
{
    public partial class frmVisitaProgramada : Form
    {
        public frmVisitaProgramada()
        {
            InitializeComponent();
        }

        private void tVisitaProgramadaBindingNavigatorSaveItem_Click(object sender, EventArgs e)
        {
            this.Validate();
            this.tVisitaProgramadaBindingSource.EndEdit();
            this.tableAdapterManager.UpdateAll(this.masterDBACDataSet);

        }

        private void frmVisitaProgramada_Load(object sender, EventArgs e)
        {
            // TODO: This line of code loads data into the 'masterDBACDataSet.TEmpleado' table. You can move, or remove it, as needed.
            this.tEmpleadoTableAdapter.Fill(this.masterDBACDataSet.TEmpleado);
            // TODO: This line of code loads data into the 'masterDBACDataSet.TDivisionEmpresa' table. You can move, or remove it, as needed.
            this.tDivisionEmpresaTableAdapter.Fill(this.masterDBACDataSet.TDivisionEmpresa);
            // TODO: This line of code loads data into the 'masterDBACDataSet.TEmpresa' table. You can move, or remove it, as needed.
            this.tEmpresaTableAdapter.Fill(this.masterDBACDataSet.TEmpresa);
            // TODO: This line of code loads data into the 'masterDBACDataSet.TVisitaProgramada' table. You can move, or remove it, as needed.
            this.tVisitaProgramadaTableAdapter.Fill(this.masterDBACDataSet.TVisitaProgramada);
            RadGridLocalizationProvider.CurrentProvider = new MyEnglishRadGridLocalizationProvider();
        }
    }
}
